package first.endtoend.tsm

import first.endtoend.Agent

class AgentMobilePhone
{

    String phoneNumber
    String simSerialNumber
    String token, projectId
    static belongsTo = [agent: Agent]
    static constraints = {
        phoneNumber nullable: true
        simSerialNumber nullable: true
        agent nullable: true
        token(nullable: true, blank: false, unique: true)
        projectId(nullable: true)
    }

    public String toString()
    {
        return phoneNumber
    }
}
